Pattern inheritance